portableSql

Second Portable SQL Function

Syntax

Second as N (DateTime as T)

Arguments

DateTimeTime

A field or value.

Returns

resultNumeric

Returns the seconds from a date or time value.

Description

Extract the seconds from a date or time value.

Discussion

The Second function extracts the seconds from a date or time value

Second() function executed on the Northwind Access database
SELECT FIRST 1 Now() AS Now, Second(Now()) AS Later FROM Orders
=10/10/2019 12:42:48 00 pm|48